package com.treasure.mall.biz.bo.oss;

import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 
 * oss:
 * bucket-name: zbq-mall
 * domain: https://zbq-mall.oss-cn-hangzhou.aliyuncs.com/
 * end-point: oss-cn-hangzhou.aliyuncs.com
 * access-key:
 * id: LTAI4G368LvNYZ5rv3uv5hQa
 * secret: qZwZAqo4MkybROgAc3rZq8Cq8r2zzR
 * +---------------------------------------------------------
 * * @package: com.treasure.mall.biz.bo.oss
 * * @author: guomw (guomwchen@foxmail.com)
 * * @date: 2020/6/21 19:24
 * * @since: V1.0.0
 * +---------------------------------------------------------
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 * Copyright 2019-2022 com.treasure.mall.biz.bo.oss Inc. All rights reserved.
 */
@Getter
@Setter
@Slf4j
@Component
@ConfigurationProperties(prefix = "oss")
public class OssConfig {
    private String bucketName;
    private String domain;
    private String endPoint;
}
